<?php

	/*
	 * 高级搜索页面
	 */
?>
   
        
         <div id="product_searchform" class="advancedSearch">
        	<div class="advancedSearch01"></div>
            <div class="advancedSearch02">
            <h3 class="advancedSearch_title">搜索商品&nbsp;&nbsp;&nbsp;<a id="shoptab" href="#">搜索店铺</a></h3>
			 	<form action="<?php echo edp_href_link(PAGENAME_ADVANCED_SEARCH); ?>" method="GET" name="advsearch">
				  <input type="hidden" name="page" value="product_search_result" />
				  <table border="0" cellspacing="0" cellpadding="0" class="advancedSearchTable">
					
		             <tr>
		                <td class="advancedSearchInput_title">关键字：</td>
		                <td><input type="text" name="q" class="input_6"/> </td>
		             </tr>		
		             <tr>
		                <td class="advancedSearchInput_title">分类：</td>
		                <td> 
		                <select id="selcategory" name="category" class="filter_2">
						  <option value="" selected>所有类目</option>
							<?php
							foreach( $pageVars['shopcatelist'] as $key=>$value ) {
								echo "<option value=\"$value\">$key</option>\n";
							}
							?>
						</select>
						</td>
		             </tr>			
		             <tr>
		                <td class="advancedSearchInput_title">所在地：</td>
		                <td> 
						 <select id="sellocation" class="filter_1">
							<option value="" selected>所在地</option>
							<?php
								foreach( $pageVars['cityList'] as $key=>$value ) {
									echo "<option value=\"$value\">$key</option>\n";
								}
							?>
						 </select>
						</td>
		             </tr>			                          
		             <tr>
		                <td class="advancedSearchInput_title">平台：</td>
		                <td> 
						 <select id="selplatfilter" class="filter_1">
							<option value="">全部</option>
							<option value="1">淘宝</option>
							<option value="2">百度</option>
							<option value="3">拍拍</option>
							<option value="4">易趣</option>
						  </select>
						</td>
		             </tr>	
		             <tr>
		                <td class="advancedSearchInput_title">价格区间：</td>
		                <td> 
							<input type="text" name="pricestart" id="pricestart" value="<?php echoPageVar( $pageVars, 'pricestart' ); ?>" class="input_3"/>
									至
							<input type="text" name="priceend" id="priceend" value="<?php echoPageVar( $pageVars, 'priceend' ); ?>" class="input_3" />
						</td>
		             </tr>	
		              <tr>
		                <td colspan="2" align="center">
		                <input type="submit" class="btn_1" value="确定" /></td>
		              </tr>		             		             		              
		           </table>
				</form>     
            </div>

            <div class="advancedSearch03"></div>
        
        </div>
        
        <div id="shop_searchform" class="advancedSearch">
        	<div class="advancedSearch01"></div>
            <div class="advancedSearch02">
            <h3 class="advancedSearch_title">搜索店铺&nbsp;&nbsp;&nbsp;<a id="producttab" href="#">搜索商品</a></h3>
            
				<form action="index.php" method="GET" name="advsearch">
				<input type="hidden" name="page" value="shop_search_result" />
				  <table border="0" cellspacing="0" cellpadding="0" class="advancedSearchTable">
					
		             <tr>
		                <td class="advancedSearchInput_title">关键字：</td>
		                <td><input type="text" name="q" class="input_6"/> </td>
		             </tr>		
		             <tr>
		                <td class="advancedSearchInput_title">分类：</td>
		                <td> 
						<select id="selcategory" name="category" class="filter_2">
							<option value="" selected>所有类目</option>
						   <?php
								foreach( $pageVars['shopcatelist'] as $key=>$value ) {
									echo "<option value=\"$value\">$key</option>\n";
								}
							?>
						</select>
						</td>
		             </tr>			
		             <tr>
		                <td class="advancedSearchInput_title">所在地：</td>
		                <td> 
						 <select id="sellocation" class="filter_2">
							<option value="" selected>所在地</option>
							<?php
								foreach( $pageVars['cityList'] as $key=>$value ) {
									echo "<option value=\"$value\">$key</option>\n";
								}
							?>
						 </select>
						</td>
		             </tr>			                          
		             <tr>
		                <td class="advancedSearchInput_title">平台：</td>
		                <td> 
						 <select id="selplatfilter" class="filter_1">
							<option value="">全部</option>
							<option value="1">淘宝</option>
							<option value="2">百度</option>
							<option value="3">拍拍</option>
							<option value="4">易趣</option>
						  </select>
						</td>
		             </tr>	
		             <tr>
		                <td class="advancedSearchInput_title">付款方式：</td>
		                <td> 
			   				<table  border="0" cellpadding="0" cellspacing="0" class="filter_table1">
			                  <tr>
			                    <td><input type="checkbox" class="input_checkbox" id="paymethod1" name="paymethod[]" value="1" /><label>支付平台</label></td>
			                    <td><input type="checkbox" class="input_checkbox" id="paymethod2" name="paymethod[]" value="2"/><label>网银支付</label></td>
			                    <td><input type="checkbox" class="input_checkbox" id="paymethod3" name="paymethod[]" value="3"/><label>信用卡</label></td>
			                    <td><input type="checkbox" class="input_checkbox" id="paymethod4" name="paymethod[]" value="4"/><label>货到付款</label></td>
			                    <td><input type="checkbox" class="input_checkbox" id="paymethod5" name="paymethod[]" value="5"/><label>汇款</label></td>
			                    </tr>
			                </table>						
						</td>
		             </tr>
		             <tr>
		                <td class="advancedSearchInput_title">特色：</td>
		                <td> 
			   				<table  border="0" cellpadding="0" cellspacing="0" class="filter_table1">
                          <tr>
                            <td><input type="checkbox" class="input_checkbox" id="feature1" name="feature[]" value="1"/><label>七天退货</label></td>

                            <td><input type="checkbox" class="input_checkbox" id="feature2" name="feature[]" value="2"/><label>30天保修</label></td>
                            
                            <td><input type="checkbox" class="input_checkbox" id="feature3" name="feature[]" value="3"/><label>假一陪三</label></td>
                           
                            <td><input type="checkbox" class="input_checkbox" id="feature4" name="feature[]" value="4"/><label>免邮</label></td>
                            
                            <td><input type="checkbox" class="input_checkbox" id="feature5" name="feature[]" value="5"/><label>如实描述</label></td>

                            <td><input type="checkbox" class="input_checkbox" id="feature6" name="feature[]" value="6"/><label>送礼品</label></td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" class="input_checkbox" id="feature7" name="feature[]" value="7"/><label>代购</label></td>
                         
                            <td><input type="checkbox" class="input_checkbox" id="feature8" name="feature[]" value="8"/><label>海外商品</label></td>
                      
                            <td><input type="checkbox" class="input_checkbox" id="feature9" name="feature[]" value="9"/><label>积分</label></td>
                          
                            <td><input type="checkbox" class="input_checkbox" id="feature10" name="feature[]" value="10"/><label>发票</label></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                          </tr>
			                </table>						
						</td>
		             </tr>			             	
		              <tr>
		                <td colspan="2" align="center">
		                <input type="submit" class="btn_1" value="确定" /></td>
		              </tr>		             		             		              
		           </table>
				</form>     
            </div>

            <div class="advancedSearch03"></div>
        
        </div>        
        
